<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MTB CAT1 Peripheral driver library: Functions</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MTB CAT1 Peripheral driver library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__group__lvd__functions.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#groups">API Reference</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Functions<div class="ingroups"><a class="el" href="group__group__lvd.html">LVD          (Low-Voltage-Detect)</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="groups"></a>
API Reference</h2></td></tr>
<tr class="memitem:group__group__lvd__functions__syspm__callback"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__lvd__functions__syspm__callback.html">Low Power Callback</a></td></tr>
<tr class="memdesc:group__group__lvd__functions__syspm__callback"><td class="mdescLeft">&#160;</td><td class="mdescRight">The driver supports SysPm callback for Deep Sleep transition. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga855b38a29ad7ce794e38f09e546f14c4"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__lvd__functions.html#ga855b38a29ad7ce794e38f09e546f14c4">Cy_LVD_Enable</a> (void)</td></tr>
<tr class="memdesc:ga855b38a29ad7ce794e38f09e546f14c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables the output of the LVD block when the VDDD voltage is at or below the threshold.  <a href="#ga855b38a29ad7ce794e38f09e546f14c4">More...</a><br /></td></tr>
<tr class="separator:ga855b38a29ad7ce794e38f09e546f14c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3eba25c246f5977fca59309c198743a0"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__lvd__functions.html#ga3eba25c246f5977fca59309c198743a0">Cy_LVD_Disable</a> (void)</td></tr>
<tr class="memdesc:ga3eba25c246f5977fca59309c198743a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disables the LVD block.  <a href="#ga3eba25c246f5977fca59309c198743a0">More...</a><br /></td></tr>
<tr class="separator:ga3eba25c246f5977fca59309c198743a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga59ac02fec5dbbba9c16b7b72beaa91b8"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__lvd__functions.html#ga59ac02fec5dbbba9c16b7b72beaa91b8">Cy_LVD_SetThreshold</a> (<a class="el" href="group__group__lvd__enums.html#ga4eaeaadf154cb3cbc9af0b4abcd56f62">cy_en_lvd_tripsel_t</a> threshold)</td></tr>
<tr class="memdesc:ga59ac02fec5dbbba9c16b7b72beaa91b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a threshold for monitoring the VDDD voltage.  <a href="#ga59ac02fec5dbbba9c16b7b72beaa91b8">More...</a><br /></td></tr>
<tr class="separator:ga59ac02fec5dbbba9c16b7b72beaa91b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9e3a366b7240affbd27ef64a12c7121f"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__lvd__enums.html#ga8ee282b956b17299990b22e65f15db0b">cy_en_lvd_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__lvd__functions.html#ga9e3a366b7240affbd27ef64a12c7121f">Cy_LVD_GetStatus</a> (void)</td></tr>
<tr class="memdesc:ga9e3a366b7240affbd27ef64a12c7121f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the status of LVD.  <a href="#ga9e3a366b7240affbd27ef64a12c7121f">More...</a><br /></td></tr>
<tr class="separator:ga9e3a366b7240affbd27ef64a12c7121f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafc5ec839663e466fcd6332b767d4253c"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__lvd__functions.html#gafc5ec839663e466fcd6332b767d4253c">Cy_LVD_GetInterruptStatus</a> (void)</td></tr>
<tr class="memdesc:gafc5ec839663e466fcd6332b767d4253c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the status of LVD interrupt.  <a href="#gafc5ec839663e466fcd6332b767d4253c">More...</a><br /></td></tr>
<tr class="separator:gafc5ec839663e466fcd6332b767d4253c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaadd0bff934f82db8d5630ab9163fbf49"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__lvd__functions.html#gaadd0bff934f82db8d5630ab9163fbf49">Cy_LVD_ClearInterrupt</a> (void)</td></tr>
<tr class="memdesc:gaadd0bff934f82db8d5630ab9163fbf49"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears LVD interrupt.  <a href="#gaadd0bff934f82db8d5630ab9163fbf49">More...</a><br /></td></tr>
<tr class="separator:gaadd0bff934f82db8d5630ab9163fbf49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7f875a2e19d66badf8736ffc75b96665"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__lvd__functions.html#ga7f875a2e19d66badf8736ffc75b96665">Cy_LVD_SetInterrupt</a> (void)</td></tr>
<tr class="memdesc:ga7f875a2e19d66badf8736ffc75b96665"><td class="mdescLeft">&#160;</td><td class="mdescRight">Triggers the device to generate interrupt for LVD.  <a href="#ga7f875a2e19d66badf8736ffc75b96665">More...</a><br /></td></tr>
<tr class="separator:ga7f875a2e19d66badf8736ffc75b96665"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga64c8f2e7e5963585cbddc6370768c2b1"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__lvd__functions.html#ga64c8f2e7e5963585cbddc6370768c2b1">Cy_LVD_GetInterruptMask</a> (void)</td></tr>
<tr class="memdesc:ga64c8f2e7e5963585cbddc6370768c2b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the mask value of LVD interrupts.  <a href="#ga64c8f2e7e5963585cbddc6370768c2b1">More...</a><br /></td></tr>
<tr class="separator:ga64c8f2e7e5963585cbddc6370768c2b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7f58d4e85f404434cf4f0b89c35143d2"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__lvd__functions.html#ga7f58d4e85f404434cf4f0b89c35143d2">Cy_LVD_SetInterruptMask</a> (void)</td></tr>
<tr class="memdesc:ga7f58d4e85f404434cf4f0b89c35143d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables LVD interrupts.  <a href="#ga7f58d4e85f404434cf4f0b89c35143d2">More...</a><br /></td></tr>
<tr class="separator:ga7f58d4e85f404434cf4f0b89c35143d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1de4327b866c4002806eb915023f438e"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__lvd__functions.html#ga1de4327b866c4002806eb915023f438e">Cy_LVD_ClearInterruptMask</a> (void)</td></tr>
<tr class="memdesc:ga1de4327b866c4002806eb915023f438e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disables LVD interrupts.  <a href="#ga1de4327b866c4002806eb915023f438e">More...</a><br /></td></tr>
<tr class="separator:ga1de4327b866c4002806eb915023f438e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf66597cc5c1f74f48510a60b34c8de7a"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__lvd__functions.html#gaf66597cc5c1f74f48510a60b34c8de7a">Cy_LVD_GetInterruptStatusMasked</a> (void)</td></tr>
<tr class="memdesc:gaf66597cc5c1f74f48510a60b34c8de7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the masked interrupt status which is a bitwise AND between the interrupt status and interrupt mask registers.  <a href="#gaf66597cc5c1f74f48510a60b34c8de7a">More...</a><br /></td></tr>
<tr class="separator:gaf66597cc5c1f74f48510a60b34c8de7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf9f813c4673a427b7a8aa35447f91cf0"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__lvd__functions.html#gaf9f813c4673a427b7a8aa35447f91cf0">Cy_LVD_SetInterruptConfig</a> (<a class="el" href="group__group__lvd__enums.html#ga86656c2b083eef9b483a09ef4078257e">cy_en_lvd_intr_config_t</a> lvdInterruptConfig)</td></tr>
<tr class="memdesc:gaf9f813c4673a427b7a8aa35447f91cf0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a configuration for LVD interrupt.  <a href="#gaf9f813c4673a427b7a8aa35447f91cf0">More...</a><br /></td></tr>
<tr class="separator:gaf9f813c4673a427b7a8aa35447f91cf0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab29e8cf1578ac78da92ae70526bcbf1e"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__lvd__functions.html#gab29e8cf1578ac78da92ae70526bcbf1e">Cy_LVD_GetSourceVoltage</a> (void)</td></tr>
<tr class="memdesc:gab29e8cf1578ac78da92ae70526bcbf1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the index of the source selected.  <a href="#gab29e8cf1578ac78da92ae70526bcbf1e">More...</a><br /></td></tr>
<tr class="separator:gab29e8cf1578ac78da92ae70526bcbf1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaac5a3234ace5fec4b51c94c222da13eb"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__lvd__functions.html#gaac5a3234ace5fec4b51c94c222da13eb">Cy_LVD_SetSourceVoltage</a> (<a class="el" href="group__group__lvd__enums.html#ga83513d700b0ebe345c0c9a02ca4e9d56">cy_en_lvd_source_t</a> source)</td></tr>
<tr class="memdesc:gaac5a3234ace5fec4b51c94c222da13eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Selects the source voltage for LVD.  <a href="#gaac5a3234ace5fec4b51c94c222da13eb">More...</a><br /></td></tr>
<tr class="separator:gaac5a3234ace5fec4b51c94c222da13eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0bc54d31e10aa295edf85bf9ed66dcff"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__lvd__functions.html#ga0bc54d31e10aa295edf85bf9ed66dcff">Cy_LVD_SetActionConfig</a> (<a class="el" href="group__group__lvd__enums.html#ga23282e9becef8bfc3442ee7c11694d61">cy_en_lvd_action_config_t</a> lvdActionConfig)</td></tr>
<tr class="memdesc:ga0bc54d31e10aa295edf85bf9ed66dcff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a action configuration after LVD block reaches threshold.  <a href="#ga0bc54d31e10aa295edf85bf9ed66dcff">More...</a><br /></td></tr>
<tr class="separator:ga0bc54d31e10aa295edf85bf9ed66dcff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6d4c322786cb7df28eeac7718b8beb2b"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__lvd__enums.html#ga23282e9becef8bfc3442ee7c11694d61">cy_en_lvd_action_config_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__lvd__functions.html#ga6d4c322786cb7df28eeac7718b8beb2b">Cy_LVD_GetActionConfig</a> (void)</td></tr>
<tr class="memdesc:ga6d4c322786cb7df28eeac7718b8beb2b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the action configured after LVD reaches threshold.  <a href="#ga6d4c322786cb7df28eeac7718b8beb2b">More...</a><br /></td></tr>
<tr class="separator:ga6d4c322786cb7df28eeac7718b8beb2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga855b38a29ad7ce794e38f09e546f14c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga855b38a29ad7ce794e38f09e546f14c4">&#9670;&nbsp;</a></span>Cy_LVD_Enable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_LVD_Enable </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables the output of the LVD block when the VDDD voltage is at or below the threshold. </p>
<p>See the Configuration Considerations section for details. </p>

</div>
</div>
<a id="ga3eba25c246f5977fca59309c198743a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3eba25c246f5977fca59309c198743a0">&#9670;&nbsp;</a></span>Cy_LVD_Disable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_LVD_Disable </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Disables the LVD block. </p>
<p>A low voltage detection interrupt is disabled. </p>

</div>
</div>
<a id="ga59ac02fec5dbbba9c16b7b72beaa91b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga59ac02fec5dbbba9c16b7b72beaa91b8">&#9670;&nbsp;</a></span>Cy_LVD_SetThreshold()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_LVD_SetThreshold </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__lvd__enums.html#ga4eaeaadf154cb3cbc9af0b4abcd56f62">cy_en_lvd_tripsel_t</a>&#160;</td>
          <td class="paramname"><em>threshold</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets a threshold for monitoring the VDDD voltage. </p>
<p>To prevent propagating a false interrupt, before changing the threshold ensure that the LVD block itself and LVD interrupt are disabled by the <a class="el" href="group__group__lvd__functions.html#ga3eba25c246f5977fca59309c198743a0">Cy_LVD_Disable</a> and <a class="el" href="group__group__lvd__functions.html#ga1de4327b866c4002806eb915023f438e">Cy_LVD_ClearInterruptMask</a> functions correspondingly.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">threshold</td><td>Threshold selection for Low Voltage Detect circuit, <a class="el" href="group__group__lvd__enums.html#ga4eaeaadf154cb3cbc9af0b4abcd56f62">cy_en_lvd_tripsel_t</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga9e3a366b7240affbd27ef64a12c7121f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9e3a366b7240affbd27ef64a12c7121f">&#9670;&nbsp;</a></span>Cy_LVD_GetStatus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__lvd__enums.html#ga8ee282b956b17299990b22e65f15db0b">cy_en_lvd_status_t</a> Cy_LVD_GetStatus </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the status of LVD. </p>
<p>SRSS LVD Status Register (PWR_LVD_STATUS).</p>
<dl class="section return"><dt>Returns</dt><dd>LVD status, <a class="el" href="group__group__lvd__enums.html#ga8ee282b956b17299990b22e65f15db0b">cy_en_lvd_status_t</a>. </dd></dl>

</div>
</div>
<a id="gafc5ec839663e466fcd6332b767d4253c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafc5ec839663e466fcd6332b767d4253c">&#9670;&nbsp;</a></span>Cy_LVD_GetInterruptStatus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint32_t Cy_LVD_GetInterruptStatus </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the status of LVD interrupt. </p>
<p>SRSS Interrupt Register (SRSS_INTR).</p>
<dl class="section return"><dt>Returns</dt><dd>SRSS Interrupt status, <a class="el" href="group__group__lvd__macros.html#gad78d424de42f274be4b2a73051172b32">CY_LVD_SRSS_INTR_HVLVD1_MASK</a>. </dd></dl>

</div>
</div>
<a id="gaadd0bff934f82db8d5630ab9163fbf49"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaadd0bff934f82db8d5630ab9163fbf49">&#9670;&nbsp;</a></span>Cy_LVD_ClearInterrupt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_LVD_ClearInterrupt </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears LVD interrupt. </p>
<p>SRSS Interrupt Register (SRSS_INTR). </p>

</div>
</div>
<a id="ga7f875a2e19d66badf8736ffc75b96665"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7f875a2e19d66badf8736ffc75b96665">&#9670;&nbsp;</a></span>Cy_LVD_SetInterrupt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_LVD_SetInterrupt </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Triggers the device to generate interrupt for LVD. </p>
<p>SRSS Interrupt Set Register (SRSS_INTR_SET). </p>

</div>
</div>
<a id="ga64c8f2e7e5963585cbddc6370768c2b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga64c8f2e7e5963585cbddc6370768c2b1">&#9670;&nbsp;</a></span>Cy_LVD_GetInterruptMask()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint32_t Cy_LVD_GetInterruptMask </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the mask value of LVD interrupts. </p>
<p>SRSS Interrupt Mask Register (SRSS_INTR_MASK).</p>
<dl class="section return"><dt>Returns</dt><dd>SRSS Interrupt Mask value, <a class="el" href="group__group__lvd__macros.html#gad78d424de42f274be4b2a73051172b32">CY_LVD_SRSS_INTR_HVLVD1_MASK</a>. </dd></dl>

</div>
</div>
<a id="ga7f58d4e85f404434cf4f0b89c35143d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7f58d4e85f404434cf4f0b89c35143d2">&#9670;&nbsp;</a></span>Cy_LVD_SetInterruptMask()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_LVD_SetInterruptMask </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables LVD interrupts. </p>
<p>Sets the LVD interrupt mask in the SRSS_INTR_MASK register. </p>

</div>
</div>
<a id="ga1de4327b866c4002806eb915023f438e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1de4327b866c4002806eb915023f438e">&#9670;&nbsp;</a></span>Cy_LVD_ClearInterruptMask()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_LVD_ClearInterruptMask </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Disables LVD interrupts. </p>
<p>Clears the LVD interrupt mask in the SRSS_INTR_MASK register. </p>

</div>
</div>
<a id="gaf66597cc5c1f74f48510a60b34c8de7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf66597cc5c1f74f48510a60b34c8de7a">&#9670;&nbsp;</a></span>Cy_LVD_GetInterruptStatusMasked()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint32_t Cy_LVD_GetInterruptStatusMasked </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the masked interrupt status which is a bitwise AND between the interrupt status and interrupt mask registers. </p>
<p>SRSS Interrupt Masked Register (SRSS_INTR_MASKED).</p>
<dl class="section return"><dt>Returns</dt><dd>SRSS Interrupt Masked value, <a class="el" href="group__group__lvd__macros.html#ga6db6685e6694407e4b3147f7341b24a2">CY_LVD_SRSS_INTR_MASKED_HVLVD1_MASK</a>. </dd></dl>

</div>
</div>
<a id="gaf9f813c4673a427b7a8aa35447f91cf0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf9f813c4673a427b7a8aa35447f91cf0">&#9670;&nbsp;</a></span>Cy_LVD_SetInterruptConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_LVD_SetInterruptConfig </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__lvd__enums.html#ga86656c2b083eef9b483a09ef4078257e">cy_en_lvd_intr_config_t</a>&#160;</td>
          <td class="paramname"><em>lvdInterruptConfig</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets a configuration for LVD interrupt. </p>
<p>SRSS Interrupt Configuration Register (SRSS_INTR_CFG).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">lvdInterruptConfig</td><td><a class="el" href="group__group__lvd__enums.html#ga86656c2b083eef9b483a09ef4078257e">cy_en_lvd_intr_config_t</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gab29e8cf1578ac78da92ae70526bcbf1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab29e8cf1578ac78da92ae70526bcbf1e">&#9670;&nbsp;</a></span>Cy_LVD_GetSourceVoltage()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint32_t Cy_LVD_GetSourceVoltage </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the index of the source selected. </p>
<dl class="section return"><dt>Returns</dt><dd>LVD source index, <a class="el" href="group__group__lvd__enums.html#ga83513d700b0ebe345c0c9a02ca4e9d56">cy_en_lvd_source_t</a>.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This API is available only for CAT1B devices. </dd></dl>

</div>
</div>
<a id="gaac5a3234ace5fec4b51c94c222da13eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaac5a3234ace5fec4b51c94c222da13eb">&#9670;&nbsp;</a></span>Cy_LVD_SetSourceVoltage()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_LVD_SetSourceVoltage </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__lvd__enums.html#ga83513d700b0ebe345c0c9a02ca4e9d56">cy_en_lvd_source_t</a>&#160;</td>
          <td class="paramname"><em>source</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Selects the source voltage for LVD. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td><a class="el" href="group__group__lvd__enums.html#ga83513d700b0ebe345c0c9a02ca4e9d56">cy_en_lvd_source_t</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>This API is available only for CAT1B devices. </dd></dl>

</div>
</div>
<a id="ga0bc54d31e10aa295edf85bf9ed66dcff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0bc54d31e10aa295edf85bf9ed66dcff">&#9670;&nbsp;</a></span>Cy_LVD_SetActionConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_LVD_SetActionConfig </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__lvd__enums.html#ga23282e9becef8bfc3442ee7c11694d61">cy_en_lvd_action_config_t</a>&#160;</td>
          <td class="paramname"><em>lvdActionConfig</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets a action configuration after LVD block reaches threshold. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">lvdActionConfig</td><td><a class="el" href="group__group__lvd__enums.html#ga23282e9becef8bfc3442ee7c11694d61">cy_en_lvd_action_config_t</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>This API is available only for CAT1D devices. </dd></dl>

</div>
</div>
<a id="ga6d4c322786cb7df28eeac7718b8beb2b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6d4c322786cb7df28eeac7718b8beb2b">&#9670;&nbsp;</a></span>Cy_LVD_GetActionConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__lvd__enums.html#ga23282e9becef8bfc3442ee7c11694d61">cy_en_lvd_action_config_t</a> Cy_LVD_GetActionConfig </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the action configured after LVD reaches threshold. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="group__group__lvd__enums.html#ga23282e9becef8bfc3442ee7c11694d61">cy_en_lvd_action_config_t</a></dd></dl>
<dl class="section note"><dt>Note</dt><dd>This API is available only for CAT1D devices. </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>MTB CAT1 Peripheral driver library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
